package com.lebang.mapper;

import com.lebang.entity.LbbDbZfbApply;
import com.lebang.example.LbbDbZfbApplyExample;
import com.lebang.model.enums.buss.TradeStatus;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface LbbDbZfbApplyLMapper {
    long countByExample(LbbDbZfbApplyExample example);

    int deleteByExample(LbbDbZfbApplyExample example);

    int deleteByPrimaryKey(Long id);

    int insert(LbbDbZfbApply record);

    int insertSelective(LbbDbZfbApply record);

    List<LbbDbZfbApply> selectByExample(LbbDbZfbApplyExample example);

    LbbDbZfbApply selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") LbbDbZfbApply record, @Param("example") LbbDbZfbApplyExample example);

    int updateByExample(@Param("record") LbbDbZfbApply record, @Param("example") LbbDbZfbApplyExample example);

    int updateByPrimaryKeySelective(LbbDbZfbApply record);

    int updateByPrimaryKey(LbbDbZfbApply record);
    LbbDbZfbApply selectByMemberIdAndStatus(@Param("userid") String userid, @Param("empty") TradeStatus empty);

    LbbDbZfbApply selectByOrderId(String orderId);
}